<?php
	if(!class_exists("admin")){
		require_once("admin.class.php");
	}
	class nav extends admin
	{
		function hide($id){
			$this->db->update($this->table,array("display"=>0),"id=$id");
		}
		
		function show($id){
			$this->db->update($this->table,array("display"=>1),"id=$id");
		}
		
	}
?>